package models

import (
	"rand";
	"fmt";
	"time";
)

const (
	MAX_WIDTH	= 10;
	MAX_HEIGHT	= 10;
)

type Point struct {
	X	int;
	Y	int;
}

var random = rand.New(rand.NewSource(time.Nanoseconds()))

func RollDie() int	{ return random.Int()%6 + 1 }

func PrintPoint1(x int, y int) string	{ return fmt.Sprintf("(%d, %d)", x, y) }

func PrintPoint2(p Point) string	{ return fmt.Sprintf("(%d, %d)", p.X, p.Y) }
